package com.lei2j.iterator;

public class Waitress {

	MenuComponent component;

	public Waitress(MenuComponent component) {
		super();
		this.component = component;
	}

	public MenuComponent getComponent() {
		return component;
	}

	public void setComponent(MenuComponent component) {
		this.component = component;
	}

	public void print() {
		component.print();
	}
	
}
